package handler

import (
	"awesomeProject/app/request"
	"awesomeProject/app/response"
	"awesomeProject/app/service"
	"github.com/gin-gonic/gin"
)

type DeliverPlaceHandler struct{}

var (
	deliverPlaceSrv service.DeliverPlaceSrv
)

func (r *DeliverPlaceHandler) QueryList(ctx *gin.Context) {
	var req request.DeliverPlaceList
	_ = ctx.Bind(&req)

	response.Result(ctx, deliverPlaceSrv.QueryList(req))
	return
}
